package org.ruwang.javaailangchain4j.assistant;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.spring.AiService;

@AiService(chatMemory = "chatMemory",chatMemoryProvider = "chatMemoryProvider")
public interface SeparateChatAssistant {

    /**
     * 分离聊天记录
     * @param memoryId 聊天id
     * @param message 用户消息
     * @return
     */
    String chat(@MemoryId int memoryId,@UserMessage String message);
}
